package cn.cnsy123.shorturls.business.entity;

import java.math.BigDecimal;
import java.util.Date;

public class SysSqlExecuteLog {
    private Long id;

    private Date executeTime;

    private BigDecimal takeUpTime;

    private String tableName;

    private String operateType;

    private Date createTime;

    private String createUser;

    private byte[] originalSql;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(Date executeTime) {
        this.executeTime = executeTime;
    }

    public BigDecimal getTakeUpTime() {
        return takeUpTime;
    }

    public void setTakeUpTime(BigDecimal takeUpTime) {
        this.takeUpTime = takeUpTime;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName == null ? null : tableName.trim();
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType == null ? null : operateType.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public byte[] getOriginalSql() {
        return originalSql;
    }

    public void setOriginalSql(byte[] originalSql) {
        this.originalSql = originalSql;
    }
}